<template>
  <div class="user">
    <div class="user-content">
      <div class="user-info">
        <el-avatar size="large" :src="circleUrl"></el-avatar>
        <div class="info">
          <p class="email">2236001007@qq.com</p>
          <span class="car-marks">文明驾驶分 0</span>
        </div>
      </div>
      <div class="user-list">
        <ul>
          <router-link to="Safe">
            <li>
              <h4 class="pull-left">
                <i class="el-icon-grape"></i>
              </h4>
              <span class="info-r">我的账户</span>
              <i class="pull-right el-icon-arrow-right"></i>
            </li>
          </router-link>
          <router-link to="Safe">
            <li>
              <h4 class="pull-left">
                <i class="el-icon-watermelon"></i>
              </h4>
              <span class="info-r">租车订单</span>
              <i class="pull-right el-icon-arrow-right"></i>
            </li>
          </router-link>
          <router-link to="Verified">
            <li>
              <h4 class="pull-left">
                <i class="el-icon-cherry"></i>
              </h4>
              <span class="info-r">实名认证</span>
              <i class="pull-right el-icon-arrow-right"></i>
            </li>
          </router-link>
          <router-link to="Safe">
            <li>
              <h4 class="pull-left">
                <i class="el-icon-apple"></i>
              </h4>
              <span class="info-r">安全设置</span>
              <i class="pull-right el-icon-arrow-right"></i>
            </li>
          </router-link>
          <router-link to="Safe">
            <li>
              <h4 class="pull-left">
                <i class="el-icon-pear"></i>
              </h4>
              <span class="info-r">帮助中心</span>
              <i class="pull-right el-icon-arrow-right"></i>
            </li>
          </router-link>
        </ul>
      </div>
      <el-button round>退出登录</el-button>
    </div>
  </div>
</template>
<script>
  export default {
    name: "User",
    data() {
      return {
        circleUrl: require("../../assets/image/ddd.jpg"),
      }
    },
  }
</script>
<style lang="scss">
  @import "./index.scss";
  .el-button {
    position: absolute;
    left: 50%;
    border-color: #2d333a;
    background-color: #2d333a;
    margin-left: -52px;
    bottom: 30px;
    color: #fff;
  }
  .el-button:focus,
  .el-button:hover {
    color: #409eff;
    border-color: #2d333a;
    background-color: #2d333a;
  }
</style>
